<template>
	<!-- 标题导航栏 -->
	<view class="nav">
		<view><slot></slot></view>
		<image src="/static/index/tui.png" mode="" @click="toBack"></image>
	</view>
</template>

<script>
	export default {
		name:"nav-title",
		data() {
			return {
				
			};
		},
		methods:{
			toBack(){ // 回
				uni.navigateBack({
					delta:9
				})
			},
		}
	}
</script>

<style scoped lang="scss">
.nav{
	// margin-top: 20rpx;
	padding: 50rpx 54rpx 0 35rpx;
	display: flex;
	justify-content: space-between;
	image{
		width: 48rpx;
		height: 48rpx;
	}
	view{
		font-size: 46rpx;
		font-family: Microsoft YaHei;
		font-weight: bold;
		color: #000000;
	}
}
</style>
